package edu.ynu.se.xiecheng.achitectureclass.common.repository;

import edu.ynu.se.xiecheng.achitectureclass.common.entity.Temperature;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface TemperatureRepository extends JpaRepository<Temperature, Long> {
    Optional<Temperature> findBySensorId(String sensorId);
}